home *** CD-ROM | disk | FTP | other *** search
Wrap
<?xml version="1.0" encoding="utf-8"?> <html><head><title>IsEmpty Function [Runtime]</title><meta name="filename" content="text/sbasic/common/03102400"/><meta name="language" content="en-US"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css"> p.P1{ } p.P2{ } span.T1{ font-weight:bold;} </style></head><body> <help:to-be-embedded Eid="isempty" xmlns:help="http://openoffice.org/2000/help"> <p class="Head1"><help:link Id="66393">IsEmpty Function [Runtime]</help:link></p> <p class="Paragraph">Tests whether a Variant variable contains the Empty value, indicating that the variable has not been initialized.</p> </help:to-be-embedded> <p class="Paragraph"><span class="T1">Syntax</span>:</p> <p class="Paragraph">IsEmpty (Var) <help:key-word value="IsEmpty" tag="kw66393_1" xmlns:help="http://openoffice.org/2000/help"/></p> <p class="Paragraph"><span class="T1">Return value</span>:</p> <p class="Paragraph">Bool</p> <p class="Paragraph"><span class="T1">Parameter</span>:</p> <p class="Paragraph">Var: Any variable to be tested. If the Variant contains the Empty value, the function returns True; otherwise, it returns False.</p> <p class="P2">Example:</p> <p class="PropText">Sub ExampleIsEmpty</p> <p class="PropText">Dim sVar as Variant</p> <p class="PropText">sVar = Empty</p> <p class="PropText">Print IsEmpty(sVar) REM Returns True</p> <p class="PropText">end sub</p> </body></html>